<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="../../../Themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../Themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/demo.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/common.css">
	</head>
	<body style="padding: 0px;">
		<div class="easyui-layout" style="width:100%;height:640px;">
			<div data-options="region:'center'" style="height:450px;">
				<div class="easyui-tabs" id="div_tabs" style="width: 100%;">
				</div>
			</div>
	</body>
	<script type="text/javascript" src="../../../JS/jquery.min.js"></script>
	<script type="text/javascript" src="../../../JS/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../../../JS/common.js"></script>
	<script type="text/javascript" src='../../../JS/SHA-1.js'></script>
	<script type="text/javascript" src='../../../JS/MarketShareFunction/MultiFrameShareFunction.js'></script>
	<script type="text/javascript">
	    var currid=getID();
	    
		var IframeList = [{
			"iframeurl": "../BIContract/BIContractList.html",
			"name": "合同签订",
			"iframeID": "ifrmContract",
			"isModi":false,
			"searchCondition": "BOOST_ID",
		}, {
			"iframeurl": "../BoothManagement/BoothContractFeeList.html",
			"name": "合同费用",
			"iframeID": "ifrmBusinessInfo",
			"isModi":false,
			"searchCondition": "BOOST_ID",
		}, {
			"iframeurl": "../BoothManagement/BoothCardList.html",
			"name": "卡证信息",
			"iframeID": "ifrmCard",
			"isModi":false,
			"searchCondition": "BOOST_ID",
		}];
		IniIframe(IframeList,currid,"id");

		function linkData(_index) {
			var _url = IframeList[_index].taburl + "?id=" + IframeList[_index].id;
			var _title = "修改" + IframeList[_index].name;
			AddTabIn(_title, parent.$('#tabs'), _url);
		}
		$('iframe.iframeStyle').load(function() {
			var content = $(".iframeStyle").contents();
			content.find(".receipts_toolbar_style").css("display", "none");
			$('#div_tabs').tabs({
				onSelect: function(title) {
					console.log("进入函数");
					for(var i = 0; i < IframeList.length; i++) {
						if(title == IframeList[i].name) {
							document.getElementById(IframeList[i].iframeID).contentWindow.location.reload(true);
						}
					}
				}
			});
		});
	</script>

</html>